package com.inphase.myfood.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.inphase.myfood.dao.FoodDao;
import com.inphase.myfood.dao.base.BaseDao;
import com.inphase.myfood.dao.base.BaseServiceImpl;
import com.inphase.myfood.model.Food;
import com.inphase.myfood.service.FoodService;

@Service("foodService")
public class FoodServiceImpl extends BaseServiceImpl<Food, Long> implements FoodService {
	@Resource(name="foodDao")
	private FoodDao foodDao;
	
	@Override
	public BaseDao<Food, Long> getBaseDao() {
		return this.foodDao;
	}
	
}
